export async function writeBlobToClipboard(blob: Blob) {
  if (ClipboardItem.supports(blob.type)) {
    await navigator.clipboard.write([new ClipboardItem({ [blob.type]: blob })]);
  } else {
    throw new Error(`不支持的格式:${blob.type}`);
  }
}
